#ifndef HEXITPANEL_H
#define HEXITPANEL_H
#include <QtWidgets>
#include "HComponent.h"
#include <QDialog>

class HExitPanel : public HMoveableWidget
{
    Q_OBJECT
public:
    HExitPanel(QWidget *parent = 0);
    ~HExitPanel();

    //static HExitPanel            *instance();

protected:
	void                         paintEvent(QPaintEvent *event);

private:
    void                         initUI();
	void                         initStyle();

private:

    QHBoxLayout                  *m_phblFunction;
    QVBoxLayout                  *m_pvblMain;

    QPushButton                  *m_ppbOK;
    QPushButton                  *m_ppbCancel;
    QLabel                       *m_plblText;

   // static HExitPanel            *m_pSelf;

};

#endif
